<template>
  <div class="app-container">
    <el-form :model="queryParams" ref="queryForm" :inline="true" v-show="showSearch" label-width="68px">
      <el-form-item label="日期" prop="cDate">
        <el-date-picker
          v-model="queryParams.cDate"
          type="date"
          size="small"
          value-format="yyyy-MM-dd"
          @keyup.enter.native="handleQuery"
          placeholder="请输入查询日期">
        </el-date-picker>
      </el-form-item>
      <el-form-item>
        <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
        <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
      </el-form-item>
    </el-form>


    <el-row :gutter="10" class="mb8">
      <el-col :span="1.5">
        <el-button
          type="primary"
          plain
          icon="el-icon-plus"
          size="mini"
          @click="handleAdd"
          v-hasPermi="['jhc:jh:add']"
        >新增</el-button>
      </el-col>
      <el-col :span="1.5">
        <el-button
          type="success"
          plain
          icon="el-icon-edit"
          size="mini"
          :disabled="single"
          @click="handleUpdate"
          v-hasPermi="['jhc:jh:edit']"
        >修改</el-button>
      </el-col>
      <el-col :span="1.5">
        <el-button
          type="danger"
          plain
          icon="el-icon-delete"
          size="mini"
          :disabled="multiple"
          @click="handleDelete"
          v-hasPermi="['jhc:jh:remove']"
        >删除</el-button>
      </el-col>
      <el-col :span="1.5">
        <el-button
          type="warning"
          plain
          icon="el-icon-download"
          size="mini"
          @click="handleExport"
          v-hasPermi="['jhc:jh:export']"
        >导出</el-button>
      </el-col>
      <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
    </el-row>

    <el-table v-loading="loading" :data="jhList" @selection-change="handleSelectionChange">
      <el-table-column type="selection" width="55" align="center" />
      <el-table-column label="日期" align="center" prop="cDate" />
      <!--<el-table-column label="肥煤1当月进厂目标量" align="center" prop="cJhFm1DyjcMb" />-->
      <el-table-column label="肥煤1当月进厂实际量" align="center" prop="cJhFm1DyjcSj" />
      <el-table-column label="肥煤1当日进厂总量" align="center" prop="cJhFm1DrjcDrzl" />
      <el-table-column label="肥煤1当日火运进厂" align="center" prop="cJhFm1DrjcHyjc" />
      <el-table-column label="肥煤1火运进厂累计" align="center" prop="cJhFm1DrjcHylj" />
      <el-table-column label="肥煤1当日汽运进厂" align="center" prop="cJhFm1DrjcQyjc" />
      <el-table-column label="肥煤1汽运进厂累计" align="center" prop="cJhFm1DrjcQylj" />
      <el-table-column label="肥煤1当日进厂消耗" align="center" prop="cJhFm1XhDrxh" />
      <el-table-column label="肥煤1累计消耗" align="center" prop="cJhFm1XhLjxh" />
      <!--<el-table-column label="肥煤1库存月末目标" align="center" prop="cJhFm1KcYmmb" />-->
      <el-table-column label="肥煤1实际库存" align="center" prop="cJhFm1KcYmsj" />

      <!--<el-table-column label="高硫肥煤当月进厂目标量" align="center" prop="czfree1" />-->
      <el-table-column label="进口肥煤当月进厂实际量" align="center" prop="czfree2" />
      <el-table-column label="进口肥煤当日进厂总量" align="center" prop="czfree3" />
      <el-table-column label="进口肥煤当日火运进厂" align="center" prop="czfree4" />
      <el-table-column label="进口肥煤火运进厂累计" align="center" prop="czfree5" />
      <el-table-column label="进口肥煤当日汽运进厂" align="center" prop="czfree6" />
      <el-table-column label="进口肥煤汽运进厂累计" align="center" prop="czfree7" />
      <el-table-column label="进口肥煤当日进厂消耗" align="center" prop="czfree8" />
      <el-table-column label="进口肥煤累计消耗" align="center" prop="czfree9" />
      <!--<el-table-column label="高硫肥煤库存月末目标" align="center" prop="czfree10" />-->
      <el-table-column label="进口肥煤实际库存" align="center" prop="czfree11" />


      <!--<el-table-column label="焦1煤当月进厂目标量" align="center" prop="cJhJ1mDyjcMb" />-->
      <el-table-column label="焦1煤当月进厂实际量" align="center" prop="cJhJ1mDyjcSj" />
      <el-table-column label="焦1煤当日进厂总量" align="center" prop="cJhJ1mDrjcDrzl" />
      <el-table-column label="焦1煤当日火运进厂" align="center" prop="cJhJ1mDrjcHyjc" />
      <el-table-column label="焦1煤火运进厂累计" align="center" prop="cJhJ1mDrjcHylj" />
      <el-table-column label="焦1煤当日汽运进厂" align="center" prop="cJhJ1mDrjcQyjc" />
      <el-table-column label="焦1煤汽运进厂累计" align="center" prop="cJhJ1mDrjcQylj" />
      <el-table-column label="焦1煤当日进厂消耗" align="center" prop="cJhJ1mXhDrxh" />
      <el-table-column label="焦1煤累计消耗" align="center" prop="cJhJ1mXhLjxh" />
      <!--<el-table-column label="焦1煤库存月末目标" align="center" prop="cJhJ1mKcYmmb" />-->
      <el-table-column label="焦1煤实际库存" align="center" prop="cJhJ1mKcYmsj" />
      <!--<el-table-column label="进口焦煤当月进厂目标量" align="center" prop="cJhJkjmDyjcMb" />-->
      <el-table-column label="进口焦煤当月进厂实际量" align="center" prop="cJhJkjmDyjcSj" />
      <el-table-column label="进口焦煤当日进厂总量" align="center" prop="cJhJkjmDrjcDrzl" />
      <el-table-column label="进口焦煤当日火运进厂" align="center" prop="cJhJkjmDrjcHyjc" />
      <el-table-column label="进口焦煤火运进厂累计" align="center" prop="cJhJkjmDrjcHylj" />
      <el-table-column label="进口焦煤当日汽运进厂" align="center" prop="cJhJkjmDrjcQyjc" />
      <el-table-column label="进口焦煤汽运进厂累计" align="center" prop="cJhJkjmDrjcQylj" />
      <el-table-column label="进口焦煤当日进厂消耗" align="center" prop="cJhJkjmXhDrxh" />
      <el-table-column label="进口焦煤累计消耗" align="center" prop="cJhJkjmXhLjxh" />
      <!--<el-table-column label="进口焦煤库存月末目标" align="center" prop="cJhJkjmKcYmmb" />-->
      <el-table-column label="进口焦煤实际库存" align="center" prop="cJhJkjmKcYmsj" />
      <!--<el-table-column label="高硫焦煤当月进厂目标量" align="center" prop="cJhGljmDyjcMb" />-->
      <el-table-column label="高硫焦煤当月进厂实际量" align="center" prop="cJhGljmDyjcSj" />
      <el-table-column label="高硫焦煤当日进厂总量" align="center" prop="cJhGljmDrjcDrzl" />
      <el-table-column label="高硫焦煤当日火运进厂" align="center" prop="cJhGljmDrjcHyjc" />
      <el-table-column label="高硫焦煤火运进厂累计" align="center" prop="cJhGljmDrjcHylj" />
      <el-table-column label="高硫焦煤当日汽运进厂" align="center" prop="cJhGljmDrjcQyjc" />
      <el-table-column label="高硫焦煤汽运进厂累计" align="center" prop="cJhGljmDrjcQylj" />
      <el-table-column label="高硫焦煤当日进厂消耗" align="center" prop="cJhGljmXhDrxh" />
      <el-table-column label="高硫焦煤累计消耗" align="center" prop="cJhGljmXhLjxh" />
      <!--<el-table-column label="高硫焦煤库存月末目标" align="center" prop="cJhGljmKcYmmb" />-->
      <el-table-column label="高硫焦煤实际库存" align="center" prop="cJhGljmKcYmsj" />
      <!--<el-table-column label="中硫1/3当月进厂目标量" align="center" prop="cJhZl13DyjcMb" />-->
      <el-table-column label="中硫1/3当月进厂实际量" align="center" prop="cJhZl13DyjcSj" />
      <el-table-column label="中硫1/3当日进厂总量" align="center" prop="cJhZl13DrjcDrzl" />
      <el-table-column label="中硫1/3当日火运进厂" align="center" prop="cJhZl13DrjcHyjc" />
      <el-table-column label="中硫1/3火运进厂累计" align="center" prop="cJhZl13DrjcHylj" />
      <el-table-column label="中硫1/3当日汽运进厂" align="center" prop="cJhZl13DrjcQyjc" />
      <el-table-column label="中硫1/3汽运进厂累计" align="center" prop="cJhZl13DrjcQylj" />
      <el-table-column label="中硫1/3当日进厂消耗" align="center" prop="cJhZl13XhDrxh" />
      <el-table-column label="中硫1/3累计消耗" align="center" prop="cJhZl13XhLjxh" />
      <!--<el-table-column label="中硫1/3库存月末目标" align="center" prop="cJhZl13KcYmmb" />-->
      <el-table-column label="中硫1/3实际库存" align="center" prop="cJhZl13KcYmsj" />
      <!--<el-table-column label="气煤当月进厂目标量" align="center" prop="cJhQmDyjcMb" />-->
      <el-table-column label="气煤当月进厂实际量" align="center" prop="cJhQmDyjcSj" />
      <el-table-column label="气煤当日进厂总量" align="center" prop="cJhQmDrjcDrzl" />
      <el-table-column label="气煤当日火运进厂" align="center" prop="cJhQmDrjcHyjc" />
      <el-table-column label="气煤火运进厂累计" align="center" prop="cJhQmDrjcHylj" />
      <el-table-column label="气煤当日汽运进厂" align="center" prop="cJhQmDrjcQyjc" />
      <el-table-column label="气煤汽运进厂累计" align="center" prop="cJhQmDrjcQylj" />
      <el-table-column label="气煤当日进厂消耗" align="center" prop="cJhQmXhDrxh" />
      <el-table-column label="气煤累计消耗" align="center" prop="cJhQmXhLjxh" />
      <!--<el-table-column label="气煤库存月末目标" align="center" prop="cJhQmKcYmmb" />-->
      <el-table-column label="气煤实际库存" align="center" prop="cJhQmKcYmsj" />
      <!--<el-table-column label="瘦煤当月进厂目标量" align="center" prop="cJhSmDyjcMb" />-->
      <el-table-column label="瘦煤当月进厂实际量" align="center" prop="cJhSmDyjcSj" />
      <el-table-column label="瘦煤当日进厂总量" align="center" prop="cJhSmDrjcDrzl" />
      <el-table-column label="瘦煤当日火运进厂" align="center" prop="cJhSmDrjcHyjc" />
      <el-table-column label="瘦煤火运进厂累计" align="center" prop="cJhSmDrjcHylj" />
      <el-table-column label="瘦煤当日汽运进厂" align="center" prop="cJhSmDrjcQyjc" />
      <el-table-column label="瘦煤汽运进厂累计" align="center" prop="cJhSmDrjcQylj" />
      <el-table-column label="瘦煤当日进厂消耗" align="center" prop="cJhSmXhDrxh" />
      <el-table-column label="瘦煤累计消耗" align="center" prop="cJhSmXhLjxh" />
      <!--<el-table-column label="瘦煤库存月末目标" align="center" prop="cJhSmKcYmmb" />-->
      <el-table-column label="瘦煤实际库存" align="center" prop="cJhSmKcYmsj" />
      <el-table-column label="备注" align="center" prop="remake" />
      <el-table-column label="删除标志" align="center" prop="cState" />
      <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
        <template slot-scope="scope">
          <el-button
            size="mini"
            type="text"
            icon="el-icon-edit"
            @click="handleUpdate(scope.row)"
            v-hasPermi="['jhc:jh:edit']"
          >修改</el-button>
          <el-button
            size="mini"
            type="text"
            icon="el-icon-delete"
            @click="handleDelete(scope.row)"
            v-hasPermi="['jhc:jh:remove']"
          >删除</el-button>
        </template>
      </el-table-column>
    </el-table>

    <pagination
      v-show="total>0"
      :total="total"
      :page.sync="queryParams.pageNum"
      :limit.sync="queryParams.pageSize"
      @pagination="getList"
    />

    <!-- 添加或修改能源公司进耗存录入对话框 -->
    <el-dialog :title="title" :visible.sync="open" width="1300px" append-to-body>
      <el-form ref="form" :model="form" :rules="rules" label-width="80px">
        <el-form-item label="日期" prop="cDate" >
          <el-date-picker
            v-model="form.cDate"
            :disabled=!isInsert
            type="date"
            size="small"
            value-format="yyyy-MM-dd"
            placeholder="请输入日期">
          </el-date-picker>
        </el-form-item>

        <table>
          <caption>炼焦煤</caption>
          <tr>
            <td width="80px"></td>
            <td>当月进厂<br>实际</td>
            <td>当日总量</td>
            <td>火运进厂<br>当日</td>
            <td>火运进厂<br>累计</td>
            <td>汽运进厂<br>当日</td>
            <td>汽运进厂<br>累计</td>
            <td>当日消耗<br>当日</td>
            <td>消耗累计</td>
            <td>库存<br>实际</td>
          </tr>
          <tr>
            <td>肥煤1</td>
            <td><el-input-number size="mini"v-model="form.cJhFm1DyjcSj" placeholder="请输入肥煤1当月进厂实际" /></td>
            <td><el-input-number size="mini"v-model="form.cJhFm1DrjcDrzl" placeholder="请输入肥煤1当日进厂总量" /></td>
            <td><el-input-number size="mini"v-model="form.cJhFm1DrjcHyjc" placeholder="请输入肥煤1当日进厂火运进厂" /></td>
            <td><el-input-number size="mini"v-model="form.cJhFm1DrjcHylj" placeholder="请输入肥煤1当日进厂火运累计" /></td>
            <td><el-input-number size="mini"v-model="form.cJhFm1DrjcQyjc" placeholder="请输入肥煤1当日进厂汽运进厂" /></td>
            <td><el-input-number size="mini"v-model="form.cJhFm1DrjcQylj" placeholder="请输入肥煤1当日进厂汽运累计" /></td>
            <td><el-input-number size="mini"v-model="form.cJhFm1XhDrxh" placeholder="请输入肥煤1当日消耗当日" /></td>
            <td><el-input-number size="mini"v-model="form.cJhFm1XhLjxh" placeholder="请输入肥煤1消耗累计" /></td>
            <td><el-input-number size="mini"v-model="form.cJhFm1KcYmsj" placeholder="请输入肥煤1库存实际" /></td>
          </tr>
          <tr>
            <td>进口肥煤</td>
            <td><el-input-number size="mini"v-model="form.zfree2" placeholder="请输入高硫肥煤当月进厂实际" /></td>
            <td><el-input-number size="mini"v-model="form.zfree3" placeholder="请输入高硫肥煤当日进厂总量" /></td>
            <td><el-input-number size="mini"v-model="form.zfree4" placeholder="请输入高硫肥煤当日进厂火运进厂" /></td>
            <td><el-input-number size="mini"v-model="form.zfree5" placeholder="请输入高硫肥煤当日进厂火运累计" /></td>
            <td><el-input-number size="mini"v-model="form.zfree6" placeholder="请输入高硫肥煤当日进厂汽运进厂" /></td>
            <td><el-input-number size="mini"v-model="form.zfree7" placeholder="请输入高硫肥煤当日进厂汽运累计" /></td>
            <td><el-input-number size="mini"v-model="form.zfree8" placeholder="请输入高硫肥煤当日消耗当日" /></td>
            <td><el-input-number size="mini"v-model="form.zfree9" placeholder="请输入高硫肥煤消耗累计" /></td>
            <td><el-input-number size="mini"v-model="form.zfree11" placeholder="请输入高硫肥煤库存实际" /></td>
          </tr>
          <tr>
            <td>焦1煤</td>
            <td><el-input-number size="mini"v-model="form.cJhJ1mDyjcSj" placeholder="请输入焦1煤当月进厂实际" /></td>
            <td><el-input-number size="mini"v-model="form.cJhJ1mDrjcDrzl" placeholder="请输入焦1煤当日进厂总量" /></td>
            <td><el-input-number size="mini"v-model="form.cJhJ1mDrjcHyjc" placeholder="请输入焦1煤当日进厂火运进厂" /></td>
            <td><el-input-number size="mini"v-model="form.cJhJ1mDrjcHylj" placeholder="请输入焦1煤当日进厂火运累计" /></td>
            <td><el-input-number size="mini"v-model="form.cJhJ1mDrjcQyjc" placeholder="请输入焦1煤当日进厂汽运进厂" /></td>
            <td><el-input-number size="mini"v-model="form.cJhJ1mDrjcQylj" placeholder="请输入焦1煤当日进厂汽运累计" /></td>
            <td><el-input-number size="mini"v-model="form.cJhJ1mXhDrxh" placeholder="请输入焦1煤当日消耗当日" /></td>
            <td><el-input-number size="mini"v-model="form.cJhJ1mXhLjxh" placeholder="请输入焦1煤消耗累计" /></td>
            <td><el-input-number size="mini"v-model="form.cJhJ1mKcYmsj" placeholder="请输入焦1煤库存实际" /></td>
          </tr>
          <tr>
            <td>进口焦煤</td>
            <td><el-input-number size="mini"v-model="form.cJhJkjmDyjcSj" placeholder="请输入进口焦煤当月进厂实际" /></td>
            <td><el-input-number size="mini"v-model="form.cJhJkjmDrjcDrzl" placeholder="请输入进口焦煤当日进厂总量" /></td>
            <td><el-input-number size="mini"v-model="form.cJhJkjmDrjcHyjc" placeholder="请输入进口焦煤当日进厂火运进厂" /></td>
            <td><el-input-number size="mini"v-model="form.cJhJkjmDrjcHylj" placeholder="请输入进口焦煤当日进厂火运累计" /></td>
            <td><el-input-number size="mini"v-model="form.cJhJkjmDrjcQyjc" placeholder="请输入进口焦煤当日进厂汽运进厂" /></td>
            <td><el-input-number size="mini"v-model="form.cJhJkjmDrjcQylj" placeholder="请输入进口焦煤当日进厂汽运累计" /></td>
            <td><el-input-number size="mini"v-model="form.cJhJkjmXhDrxh" placeholder="请输入进口焦煤当日消耗当日" /></td>
            <td><el-input-number size="mini"v-model="form.cJhJkjmXhLjxh" placeholder="请输入进口焦煤消耗累计" /></td>
            <td><el-input-number size="mini"v-model="form.cJhJkjmKcYmsj" placeholder="请输入进口焦煤库存实际" /></td>
          </tr>
          <tr>
            <td>进口1/3焦煤</td>
            <td><el-input-number size="mini"v-model="form.cJhGljmDyjcSj" placeholder="请输入进口1/3焦煤当月进厂实际" /></td>
            <td><el-input-number size="mini"v-model="form.cJhGljmDrjcDrzl" placeholder="请输入进口1/3焦煤当日进厂总量" /></td>
            <td><el-input-number size="mini"v-model="form.cJhGljmDrjcHyjc" placeholder="请输入进口1/3焦煤当日进厂火运进厂" /></td>
            <td><el-input-number size="mini"v-model="form.cJhGljmDrjcHylj" placeholder="请输入进口1/3焦煤当日进厂火运累计" /></td>
            <td><el-input-number size="mini"v-model="form.cJhGljmDrjcQyjc" placeholder="请输入进口1/3焦煤当日进厂汽运进厂" /></td>
            <td><el-input-number size="mini"v-model="form.cJhGljmDrjcQylj" placeholder="请输入进口1/3焦煤当日进厂汽运累计" /></td>
            <td><el-input-number size="mini"v-model="form.cJhGljmXhDrxh" placeholder="请输入进口1/3焦煤当日消耗当日" /></td>
            <td><el-input-number size="mini"v-model="form.cJhGljmXhLjxh" placeholder="请输入进口1/3焦煤消耗累计" /></td>
            <td><el-input-number size="mini"v-model="form.cJhGljmKcYmsj" placeholder="请输入进口1/3焦煤库存实际" /></td>
          </tr>
          <tr>
            <td>中硫1/3</td>
            <td><el-input-number size="mini"v-model="form.cJhZl13DyjcSj" placeholder="请输入中硫1/3当月进厂实际" /></td>
            <td><el-input-number size="mini"v-model="form.cJhZl13DrjcDrzl" placeholder="请输入中硫1/3当日进厂总量" /></td>
            <td><el-input-number size="mini"v-model="form.cJhZl13DrjcHyjc" placeholder="请输入中硫1/3当日进厂火运进厂" /></td>
            <td><el-input-number size="mini"v-model="form.cJhZl13DrjcHylj" placeholder="请输入中硫1/3当日进厂火运累计" /></td>
            <td><el-input-number size="mini"v-model="form.cJhZl13DrjcQyjc" placeholder="请输入中硫1/3当日进厂汽运进厂" /></td>
            <td><el-input-number size="mini"v-model="form.cJhZl13DrjcQylj" placeholder="请输入中硫1/3当日进厂汽运累计" /></td>
            <td><el-input-number size="mini"v-model="form.cJhZl13XhDrxh" placeholder="请输入中硫1/3当日消耗当日" /></td>
            <td><el-input-number size="mini"v-model="form.cJhZl13XhLjxh" placeholder="请输入中硫1/3消耗累计" /></td>
            <td><el-input-number size="mini"v-model="form.cJhZl13KcYmsj" placeholder="请输入中硫1/3库存实际" /></td>
          </tr>
          <tr>
          <td>气煤</td>
          <td><el-input-number size="mini"v-model="form.cJhQmDyjcSj" placeholder="请输入气煤当月进厂实际" /></td>
          <td><el-input-number size="mini"v-model="form.cJhQmDrjcDrzl" placeholder="请输入气煤当日进厂总量" /></td>
          <td><el-input-number size="mini"v-model="form.cJhQmDrjcHyjc" placeholder="请输入气煤当日进厂火运进厂" /></td>
          <td><el-input-number size="mini"v-model="form.cJhQmDrjcHylj" placeholder="请输入气煤当日进厂火运累计" /></td>
          <td><el-input-number size="mini"v-model="form.cJhQmDrjcQyjc" placeholder="请输入气煤当日进厂汽运进厂" /></td>
          <td><el-input-number size="mini"v-model="form.cJhQmDrjcQylj" placeholder="请输入气煤当日进厂汽运累计" /></td>
          <td><el-input-number size="mini"v-model="form.cJhQmXhDrxh" placeholder="请输入气煤当日消耗当日" /></td>
          <td><el-input-number size="mini"v-model="form.cJhQmXhLjxh" placeholder="请输入气煤消耗累计" /></td>
          <td><el-input-number size="mini"v-model="form.cJhQmKcYmsj" placeholder="请输入气煤库存实际" /></td>
        </tr>
          <tr>
            <td>瘦煤</td>
            <td><el-input-number size="mini"v-model="form.cJhSmDyjcSj" placeholder="请输入瘦煤当月进厂实际" /></td>
            <td><el-input-number size="mini"v-model="form.cJhSmDrjcDrzl" placeholder="请输入瘦煤当日进厂总量" /></td>
            <td><el-input-number size="mini"v-model="form.cJhSmDrjcHyjc" placeholder="请输入瘦煤当日进厂火运进厂" /></td>
            <td><el-input-number size="mini"v-model="form.cJhSmDrjcHylj" placeholder="请输入瘦煤当日进厂火运累计" /></td>
            <td><el-input-number size="mini"v-model="form.cJhSmDrjcQyjc" placeholder="请输入瘦煤当日进厂汽运进厂" /></td>
            <td><el-input-number size="mini"v-model="form.cJhSmDrjcQylj" placeholder="请输入瘦煤当日进厂汽运累计" /></td>
            <td><el-input-number size="mini"v-model="form.cJhSmXhDrxh" placeholder="请输入瘦煤当日消耗当日" /></td>
            <td><el-input-number size="mini"v-model="form.cJhSmXhLjxh" placeholder="请输入瘦煤消耗累计" /></td>
            <td><el-input-number size="mini"v-model="form.cJhSmKcYmsj" placeholder="请输入瘦煤库存实际" /></td>
          </tr>
        </table>



        <!--<el-form-item label="肥煤1当月进厂目标量" prop="cJhFm1DyjcMb">-->
          <!--<el-input-number size="mini"v-model="form.cJhFm1DyjcMb" placeholder="请输入肥煤1当月进厂目标量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="肥煤1当月进厂实际量" prop="cJhFm1DyjcSj">-->
          <!--<el-input-number size="mini"v-model="form.cJhFm1DyjcSj" placeholder="请输入肥煤1当月进厂实际量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="肥煤1当日进厂总量" prop="cJhFm1DrjcDrzl">-->
          <!--<el-input-number size="mini"v-model="form.cJhFm1DrjcDrzl" placeholder="请输入肥煤1当日进厂总量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="肥煤1当日火运进厂" prop="cJhFm1DrjcHyjc">-->
          <!--<el-input-number size="mini"v-model="form.cJhFm1DrjcHyjc" placeholder="请输入肥煤1当日火运进厂" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="肥煤1火运进厂累计" prop="cJhFm1DrjcHylj">-->
          <!--<el-input-number size="mini"v-model="form.cJhFm1DrjcHylj" placeholder="请输入肥煤1火运进厂累计" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="肥煤1当日汽运进厂" prop="cJhFm1DrjcQyjc">-->
          <!--<el-input-number size="mini"v-model="form.cJhFm1DrjcQyjc" placeholder="请输入肥煤1当日汽运进厂" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="肥煤1汽运进厂累计" prop="cJhFm1DrjcQylj">-->
          <!--<el-input-number size="mini"v-model="form.cJhFm1DrjcQylj" placeholder="请输入肥煤1汽运进厂累计" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="肥煤1当日进厂消耗" prop="cJhFm1XhDrxh">-->
          <!--<el-input-number size="mini"v-model="form.cJhFm1XhDrxh" placeholder="请输入肥煤1当日进厂消耗" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="肥煤1当日进厂累计消耗" prop="cJhFm1XhLjxh">-->
          <!--<el-input-number size="mini"v-model="form.cJhFm1XhLjxh" placeholder="请输入肥煤1当日进厂累计消耗" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="肥煤1库存月末目标" prop="cJhFm1KcYmmb">-->
          <!--<el-input-number size="mini"v-model="form.cJhFm1KcYmmb" placeholder="请输入肥煤1库存月末目标" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="肥煤1实际库存" prop="cJhFm1KcYmsj">-->
          <!--<el-input-number size="mini"v-model="form.cJhFm1KcYmsj" placeholder="请输入肥煤1实际库存" />-->
        <!--</el-form-item>-->


        <!--<el-form-item label="高硫肥煤当月进厂目标量" prop="Zfree1">-->
          <!--<el-input-number size="mini"v-model="form.cZfree1" placeholder="请输入高硫肥煤当月进厂目标量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="高硫肥煤当月进厂实际量" prop="cZfree2">-->
          <!--<el-input-number size="mini"v-model="form.cJhFm1DyjcSj" placeholder="请输入高硫肥煤当月进厂实际量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="高硫肥煤当日进厂总量" prop="cZfree3">-->
          <!--<el-input-number size="mini"v-model="form.cJhFm1DrjcDrzl" placeholder="请输入高硫肥煤当日进厂总量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="高硫肥煤当日火运进厂" prop="cZfree4">-->
          <!--<el-input-number size="mini"v-model="form.cJhFm1DrjcHyjc" placeholder="请输入高硫肥煤当日火运进厂" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="高硫肥煤火运进厂累计" prop="cZfree5">-->
          <!--<el-input-number size="mini"v-model="form.cJhFm1DrjcHylj" placeholder="请输入高硫肥煤火运进厂累计" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="高硫肥煤当日汽运进厂" prop="cZfree6">-->
          <!--<el-input-number size="mini"v-model="form.cJhFm1DrjcQyjc" placeholder="请输入高硫肥煤当日汽运进厂" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="高硫肥煤汽运进厂累计" prop="cZfree7">-->
          <!--<el-input-number size="mini"v-model="form.cJhFm1DrjcQylj" placeholder="请输入高硫肥煤汽运进厂累计" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="高硫肥煤当日进厂消耗" prop="cZfree8">-->
          <!--<el-input-number size="mini"v-model="form.cJhFm1XhDrxh" placeholder="请输入高硫肥煤当日进厂消耗" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="高硫肥煤当日进厂累计消耗" prop="cZfree9">-->
          <!--<el-input-number size="mini"v-model="form.cJhFm1XhLjxh" placeholder="请输入高硫肥煤当日进厂累计消耗" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="高硫肥煤库存月末目标" prop="cZfree10">-->
          <!--<el-input-number size="mini"v-model="form.cJhFm1KcYmmb" placeholder="请输入高硫肥煤库存月末目标" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="高硫肥煤实际库存" prop="cZfree11">-->
          <!--<el-input-number size="mini"v-model="form.cJhFm1KcYmsj" placeholder="请输入高硫肥煤实际库存" />-->
        <!--</el-form-item>-->


        <!--<el-form-item label="焦1煤当月进厂目标量" prop="cJhJ1mDyjcMb">-->
          <!--<el-input-number size="mini"v-model="form.cJhJ1mDyjcMb" placeholder="请输入焦1煤当月进厂目标量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="焦1煤当月进厂实际量" prop="cJhJ1mDyjcSj">-->
          <!--<el-input-number size="mini"v-model="form.cJhJ1mDyjcSj" placeholder="请输入焦1煤当月进厂实际量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="焦1煤当日进厂总量" prop="cJhJ1mDrjcDrzl">-->
          <!--<el-input-number size="mini"v-model="form.cJhJ1mDrjcDrzl" placeholder="请输入焦1煤当日进厂总量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="焦1煤当日火运进厂" prop="cJhJ1mDrjcHyjc">-->
          <!--<el-input-number size="mini"v-model="form.cJhJ1mDrjcHyjc" placeholder="请输入焦1煤当日火运进厂" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="焦1煤火运进厂累计" prop="cJhJ1mDrjcHylj">-->
          <!--<el-input-number size="mini"v-model="form.cJhJ1mDrjcHylj" placeholder="请输入焦1煤火运进厂累计" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="焦1煤当日汽运进厂" prop="cJhJ1mDrjcQyjc">-->
          <!--<el-input-number size="mini"v-model="form.cJhJ1mDrjcQyjc" placeholder="请输入焦1煤当日汽运进厂" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="焦1煤汽运进厂累计" prop="cJhJ1mDrjcQylj">-->
          <!--<el-input-number size="mini"v-model="form.cJhJ1mDrjcQylj" placeholder="请输入焦1煤汽运进厂累计" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="焦1煤当日进厂消耗" prop="cJhJ1mXhDrxh">-->
          <!--<el-input-number size="mini"v-model="form.cJhJ1mXhDrxh" placeholder="请输入焦1煤当日进厂消耗" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="焦1煤当日进厂累计消耗" prop="cJhJ1mXhLjxh">-->
          <!--<el-input-number size="mini"v-model="form.cJhJ1mXhLjxh" placeholder="请输入焦1煤当日进厂累计消耗" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="焦1煤库存月末目标" prop="cJhJ1mKcYmmb">-->
          <!--<el-input-number size="mini"v-model="form.cJhJ1mKcYmmb" placeholder="请输入焦1煤库存月末目标" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="焦1煤实际库存" prop="cJhJ1mKcYmsj">-->
          <!--<el-input-number size="mini"v-model="form.cJhJ1mKcYmsj" placeholder="请输入焦1煤实际库存" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="进口焦煤当月进厂目标量" prop="cJhJkjmDyjcMb">-->
          <!--<el-input-number size="mini"v-model="form.cJhJkjmDyjcMb" placeholder="请输入进口焦煤当月进厂目标量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="进口焦煤当月进厂实际量" prop="cJhJkjmDyjcSj">-->
          <!--<el-input-number size="mini"v-model="form.cJhJkjmDyjcSj" placeholder="请输入进口焦煤当月进厂实际量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="进口焦煤当日进厂总量" prop="cJhJkjmDrjcDrzl">-->
          <!--<el-input-number size="mini"v-model="form.cJhJkjmDrjcDrzl" placeholder="请输入进口焦煤当日进厂总量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="进口焦煤当日火运进厂" prop="cJhJkjmDrjcHyjc">-->
          <!--<el-input-number size="mini"v-model="form.cJhJkjmDrjcHyjc" placeholder="请输入进口焦煤当日火运进厂" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="进口焦煤火运进厂累计" prop="cJhJkjmDrjcHylj">-->
          <!--<el-input-number size="mini"v-model="form.cJhJkjmDrjcHylj" placeholder="请输入进口焦煤火运进厂累计" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="进口焦煤当日汽运进厂" prop="cJhJkjmDrjcQyjc">-->
          <!--<el-input-number size="mini"v-model="form.cJhJkjmDrjcQyjc" placeholder="请输入进口焦煤当日汽运进厂" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="进口焦煤汽运进厂累计" prop="cJhJkjmDrjcQylj">-->
          <!--<el-input-number size="mini"v-model="form.cJhJkjmDrjcQylj" placeholder="请输入进口焦煤汽运进厂累计" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="进口焦煤当日进厂消耗" prop="cJhJkjmXhDrxh">-->
          <!--<el-input-number size="mini"v-model="form.cJhJkjmXhDrxh" placeholder="请输入进口焦煤当日进厂消耗" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="进口焦煤当日进厂累计消耗" prop="cJhJkjmXhLjxh">-->
          <!--<el-input-number size="mini"v-model="form.cJhJkjmXhLjxh" placeholder="请输入进口焦煤当日进厂累计消耗" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="进口焦煤库存月末目标" prop="cJhJkjmKcYmmb">-->
          <!--<el-input-number size="mini"v-model="form.cJhJkjmKcYmmb" placeholder="请输入进口焦煤库存月末目标" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="进口焦煤实际库存" prop="cJhJkjmKcYmsj">-->
          <!--<el-input-number size="mini"v-model="form.cJhJkjmKcYmsj" placeholder="请输入进口焦煤实际库存" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="进口1/3焦煤当月进厂目标量" prop="cJhGljmDyjcMb">-->
          <!--<el-input-number size="mini"v-model="form.cJhGljmDyjcMb" placeholder="请输入进口1/3焦煤当月进厂目标量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="进口1/3焦煤当月进厂实际量" prop="cJhGljmDyjcSj">-->
          <!--<el-input-number size="mini"v-model="form.cJhGljmDyjcSj" placeholder="请输入进口1/3焦煤当月进厂实际量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="进口1/3焦煤当日进厂总量" prop="cJhGljmDrjcDrzl">-->
          <!--<el-input-number size="mini"v-model="form.cJhGljmDrjcDrzl" placeholder="请输入进口1/3焦煤当日进厂总量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="进口1/3焦煤当日火运进厂" prop="cJhGljmDrjcHyjc">-->
          <!--<el-input-number size="mini"v-model="form.cJhGljmDrjcHyjc" placeholder="请输入进口1/3焦煤当日火运进厂" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="进口1/3焦煤火运进厂累计" prop="cJhGljmDrjcHylj">-->
          <!--<el-input-number size="mini"v-model="form.cJhGljmDrjcHylj" placeholder="请输入进口1/3焦煤火运进厂累计" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="进口1/3焦煤当日汽运进厂" prop="cJhGljmDrjcQyjc">-->
          <!--<el-input-number size="mini"v-model="form.cJhGljmDrjcQyjc" placeholder="请输入进口1/3焦煤当日汽运进厂" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="进口1/3焦煤汽运进厂累计" prop="cJhGljmDrjcQylj">-->
          <!--<el-input-number size="mini"v-model="form.cJhGljmDrjcQylj" placeholder="请输入进口1/3焦煤汽运进厂累计" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="进口1/3焦煤当日进厂消耗" prop="cJhGljmXhDrxh">-->
          <!--<el-input-number size="mini"v-model="form.cJhGljmXhDrxh" placeholder="请输入进口1/3焦煤当日进厂消耗" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="进口1/3焦煤当日进厂累计消耗" prop="cJhGljmXhLjxh">-->
          <!--<el-input-number size="mini"v-model="form.cJhGljmXhLjxh" placeholder="请输入进口1/3焦煤当日进厂累计消耗" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="进口1/3焦煤库存月末目标" prop="cJhGljmKcYmmb">-->
          <!--<el-input-number size="mini"v-model="form.cJhGljmKcYmmb" placeholder="请输入进口1/3焦煤库存月末目标" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="进口1/3焦煤实际库存" prop="cJhGljmKcYmsj">-->
          <!--<el-input-number size="mini"v-model="form.cJhGljmKcYmsj" placeholder="请输入进口1/3焦煤实际库存" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="中硫1/3当月进厂目标量" prop="cJhZl13DyjcMb">-->
          <!--<el-input-number size="mini"v-model="form.cJhZl13DyjcMb" placeholder="请输入中硫1/3当月进厂目标量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="中硫1/3当月进厂实际量" prop="cJhZl13DyjcSj">-->
          <!--<el-input-number size="mini"v-model="form.cJhZl13DyjcSj" placeholder="请输入中硫1/3当月进厂实际量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="中硫1/3当日进厂总量" prop="cJhZl13DrjcDrzl">-->
          <!--<el-input-number size="mini"v-model="form.cJhZl13DrjcDrzl" placeholder="请输入中硫1/3当日进厂总量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="中硫1/3当日火运进厂" prop="cJhZl13DrjcHyjc">-->
          <!--<el-input-number size="mini"v-model="form.cJhZl13DrjcHyjc" placeholder="请输入中硫1/3当日火运进厂" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="中硫1/3火运进厂累计" prop="cJhZl13DrjcHylj">-->
          <!--<el-input-number size="mini"v-model="form.cJhZl13DrjcHylj" placeholder="请输入中硫1/3火运进厂累计" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="中硫1/3当日汽运进厂" prop="cJhZl13DrjcQyjc">-->
          <!--<el-input-number size="mini"v-model="form.cJhZl13DrjcQyjc" placeholder="请输入中硫1/3当日汽运进厂" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="中硫1/3汽运进厂累计" prop="cJhZl13DrjcQylj">-->
          <!--<el-input-number size="mini"v-model="form.cJhZl13DrjcQylj" placeholder="请输入中硫1/3汽运进厂累计" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="中硫1/3当日进厂消耗" prop="cJhZl13XhDrxh">-->
          <!--<el-input-number size="mini"v-model="form.cJhZl13XhDrxh" placeholder="请输入中硫1/3当日进厂消耗" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="中硫1/3当日进厂累计消耗" prop="cJhZl13XhLjxh">-->
          <!--<el-input-number size="mini"v-model="form.cJhZl13XhLjxh" placeholder="请输入中硫1/3当日进厂累计消耗" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="中硫1/3库存月末目标" prop="cJhZl13KcYmmb">-->
          <!--<el-input-number size="mini"v-model="form.cJhZl13KcYmmb" placeholder="请输入中硫1/3库存月末目标" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="中硫1/3实际库存" prop="cJhZl13KcYmsj">-->
          <!--<el-input-number size="mini"v-model="form.cJhZl13KcYmsj" placeholder="请输入中硫1/3实际库存" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="气煤当月进厂目标量" prop="cJhQmDyjcMb">-->
          <!--<el-input-number size="mini"v-model="form.cJhQmDyjcMb" placeholder="请输入气煤当月进厂目标量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="气煤当月进厂实际量" prop="cJhQmDyjcSj">-->
          <!--<el-input-number size="mini"v-model="form.cJhQmDyjcSj" placeholder="请输入气煤当月进厂实际量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="气煤当日进厂总量" prop="cJhQmDrjcDrzl">-->
          <!--<el-input-number size="mini"v-model="form.cJhQmDrjcDrzl" placeholder="请输入气煤当日进厂总量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="气煤当日火运进厂" prop="cJhQmDrjcHyjc">-->
          <!--<el-input-number size="mini"v-model="form.cJhQmDrjcHyjc" placeholder="请输入气煤当日火运进厂" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="气煤火运进厂累计" prop="cJhQmDrjcHylj">-->
          <!--<el-input-number size="mini"v-model="form.cJhQmDrjcHylj" placeholder="请输入气煤火运进厂累计" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="气煤当日汽运进厂" prop="cJhQmDrjcQyjc">-->
          <!--<el-input-number size="mini"v-model="form.cJhQmDrjcQyjc" placeholder="请输入气煤当日汽运进厂" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="气煤汽运进厂累计" prop="cJhQmDrjcQylj">-->
          <!--<el-input-number size="mini"v-model="form.cJhQmDrjcQylj" placeholder="请输入气煤汽运进厂累计" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="气煤当日进厂消耗" prop="cJhQmXhDrxh">-->
          <!--<el-input-number size="mini"v-model="form.cJhQmXhDrxh" placeholder="请输入气煤当日进厂消耗" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="气煤当日进厂累计消耗" prop="cJhQmXhLjxh">-->
          <!--<el-input-number size="mini"v-model="form.cJhQmXhLjxh" placeholder="请输入气煤当日进厂累计消耗" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="气煤库存月末目标" prop="cJhQmKcYmmb">-->
          <!--<el-input-number size="mini"v-model="form.cJhQmKcYmmb" placeholder="请输入气煤库存月末目标" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="气煤实际库存" prop="cJhQmKcYmsj">-->
          <!--<el-input-number size="mini"v-model="form.cJhQmKcYmsj" placeholder="请输入气煤实际库存" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="瘦煤当月进厂目标量" prop="cJhSmDyjcMb">-->
          <!--<el-input-number size="mini"v-model="form.cJhSmDyjcMb" placeholder="请输入瘦煤当月进厂目标量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="瘦煤当月进厂实际量" prop="cJhSmDyjcSj">-->
          <!--<el-input-number size="mini"v-model="form.cJhSmDyjcSj" placeholder="请输入瘦煤当月进厂实际量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="瘦煤当日进厂总量" prop="cJhSmDrjcDrzl">-->
          <!--<el-input-number size="mini"v-model="form.cJhSmDrjcDrzl" placeholder="请输入瘦煤当日进厂总量" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="瘦煤当日火运进厂" prop="cJhSmDrjcHyjc">-->
          <!--<el-input-number size="mini"v-model="form.cJhSmDrjcHyjc" placeholder="请输入瘦煤当日火运进厂" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="瘦煤火运进厂累计" prop="cJhSmDrjcHylj">-->
          <!--<el-input-number size="mini"v-model="form.cJhSmDrjcHylj" placeholder="请输入瘦煤火运进厂累计" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="瘦煤当日汽运进厂" prop="cJhSmDrjcQyjc">-->
          <!--<el-input-number size="mini"v-model="form.cJhSmDrjcQyjc" placeholder="请输入瘦煤当日汽运进厂" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="瘦煤汽运进厂累计" prop="cJhSmDrjcQylj">-->
          <!--<el-input-number size="mini"v-model="form.cJhSmDrjcQylj" placeholder="请输入瘦煤汽运进厂累计" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="瘦煤当日进厂消耗" prop="cJhSmXhDrxh">-->
          <!--<el-input-number size="mini"v-model="form.cJhSmXhDrxh" placeholder="请输入瘦煤当日进厂消耗" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="瘦煤当日进厂累计消耗" prop="cJhSmXhLjxh">-->
          <!--<el-input-number size="mini"v-model="form.cJhSmXhLjxh" placeholder="请输入瘦煤当日进厂累计消耗" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="瘦煤库存月末目标" prop="cJhSmKcYmmb">-->
          <!--<el-input-number size="mini"v-model="form.cJhSmKcYmmb" placeholder="请输入瘦煤库存月末目标" />-->
        <!--</el-form-item>-->
        <!--<el-form-item label="瘦煤实际库存" prop="cJhSmKcYmsj">-->
          <!--<el-input-number size="mini"v-model="form.cJhSmKcYmsj" placeholder="请输入瘦煤实际库存" />-->
        <!--</el-form-item>-->
        <el-form-item label="备注" prop="remake">
          <el-input v-model="form.remake" placeholder="请输入备注" />
        </el-form-item>
        <!--<el-form-item label="删除标志" prop="cState">-->
          <!--<el-input-number size="mini"v-model="form.cState" placeholder="请输入删除标志" />-->
        <!--</el-form-item>-->
      </el-form>
      <div slot="footer" class="dialog-footer">
        <el-button type="primary" @click="submitForm">确 定</el-button>
        <el-button @click="cancel">取 消</el-button>
      </div>
    </el-dialog>
  </div>
</template>

<script>
import { listJh, getJh, delJh, addJh, updateJh } from "@/api/jhc/jh";

export default {
  name: "Jh",
  data() {
    return {
      // 遮罩层
      loading: true,
      // 选中数组
      ids: [],
      // 非单个禁用
      single: true,
      // 非多个禁用
      multiple: true,
      // 显示搜索条件
      showSearch: true,
      // 总条数
      total: 0,
      // 能源公司进耗存录入表格数据
      jhList: [],
      // 弹出层标题
      title: "",
      // 是否显示弹出层
      open: false,
      // 查询参数
      queryParams: {
        pageNum: 1,
        pageSize: 10,
        cJhFm1DyjcMb: null,
        cJhFm1DyjcSj: null,
        cJhFm1DrjcDrzl: null,
        cJhFm1DrjcHyjc: null,
        cJhFm1DrjcHylj: null,
        cJhFm1DrjcQyjc: null,
        cJhFm1DrjcQylj: null,
        cJhFm1XhDrxh: null,
        cJhFm1XhLjxh: null,
        cJhFm1KcYmmb: null,
        cJhFm1KcYmsj: null,
        cJhJ1mDyjcMb: null,
        cJhJ1mDyjcSj: null,
        cJhJ1mDrjcDrzl: null,
        cJhJ1mDrjcHyjc: null,
        cJhJ1mDrjcHylj: null,
        cJhJ1mDrjcQyjc: null,
        cJhJ1mDrjcQylj: null,
        cJhJ1mXhDrxh: null,
        cJhJ1mXhLjxh: null,
        cJhJ1mKcYmmb: null,
        cJhJ1mKcYmsj: null,
        cJhJkjmDyjcMb: null,
        cJhJkjmDyjcSj: null,
        cJhJkjmDrjcDrzl: null,
        cJhJkjmDrjcHyjc: null,
        cJhJkjmDrjcHylj: null,
        cJhJkjmDrjcQyjc: null,
        cJhJkjmDrjcQylj: null,
        cJhJkjmXhDrxh: null,
        cJhJkjmXhLjxh: null,
        cJhJkjmKcYmmb: null,
        cJhJkjmKcYmsj: null,
        cJhGljmDyjcMb: null,
        cJhGljmDyjcSj: null,
        cJhGljmDrjcDrzl: null,
        cJhGljmDrjcHyjc: null,
        cJhGljmDrjcHylj: null,
        cJhGljmDrjcQyjc: null,
        cJhGljmDrjcQylj: null,
        cJhGljmXhDrxh: null,
        cJhGljmXhLjxh: null,
        cJhGljmKcYmmb: null,
        cJhGljmKcYmsj: null,
        cJhZl13DyjcMb: null,
        cJhZl13DyjcSj: null,
        cJhZl13DrjcDrzl: null,
        cJhZl13DrjcHyjc: null,
        cJhZl13DrjcHylj: null,
        cJhZl13DrjcQyjc: null,
        cJhZl13DrjcQylj: null,
        cJhZl13XhDrxh: null,
        cJhZl13XhLjxh: null,
        cJhZl13KcYmmb: null,
        cJhZl13KcYmsj: null,
        cJhQmDyjcMb: null,
        cJhQmDyjcSj: null,
        cJhQmDrjcDrzl: null,
        cJhQmDrjcHyjc: null,
        cJhQmDrjcHylj: null,
        cJhQmDrjcQyjc: null,
        cJhQmDrjcQylj: null,
        cJhQmXhDrxh: null,
        cJhQmXhLjxh: null,
        cJhQmKcYmmb: null,
        cJhQmKcYmsj: null,
        cJhSmDyjcMb: null,
        cJhSmDyjcSj: null,
        cJhSmDrjcDrzl: null,
        cJhSmDrjcHyjc: null,
        cJhSmDrjcHylj: null,
        cJhSmDrjcQyjc: null,
        cJhSmDrjcQylj: null,
        cJhSmXhDrxh: null,
        cJhSmXhLjxh: null,
        cJhSmKcYmmb: null,
        cJhSmKcYmsj: null,
        remake: null,
        zfree1: null,
        zfree2: null,
        zfree3: null,
        zfree4: null,
        zfree5: null,
        zfree6: null,
        zfree7: null,
        zfree8: null,
        zfree9: null,
        zfree10: null,
        zfree11: null,
        zfree12: null,
        zfree13: null,
        zfree14: null,
        zfree15: null,
        cState: null
      },
      // 表单参数
      form: {},
      // 表单校验
      rules: {
      },
      isInsert:true,
    };
  },
  created() {
    this.getList();
  },
  methods: {
    /** 查询能源公司进耗存录入列表 */
    getList() {
      this.loading = true;
      listJh(this.queryParams).then(response => {
        this.jhList = response.rows;
        this.total = response.total;
        this.loading = false;
      });
    },
    // 取消按钮
    cancel() {
      this.open = false;
      this.reset();
    },
    // 表单重置
    reset() {
      this.form = {
        cDate: null,
        cJhFm1DyjcMb: null,
        cJhFm1DyjcSj: null,
        cJhFm1DrjcDrzl: null,
        cJhFm1DrjcHyjc: null,
        cJhFm1DrjcHylj: null,
        cJhFm1DrjcQyjc: null,
        cJhFm1DrjcQylj: null,
        cJhFm1XhDrxh: null,
        cJhFm1XhLjxh: null,
        cJhFm1KcYmmb: null,
        cJhFm1KcYmsj: null,
        cJhJ1mDyjcMb: null,
        cJhJ1mDyjcSj: null,
        cJhJ1mDrjcDrzl: null,
        cJhJ1mDrjcHyjc: null,
        cJhJ1mDrjcHylj: null,
        cJhJ1mDrjcQyjc: null,
        cJhJ1mDrjcQylj: null,
        cJhJ1mXhDrxh: null,
        cJhJ1mXhLjxh: null,
        cJhJ1mKcYmmb: null,
        cJhJ1mKcYmsj: null,
        cJhJkjmDyjcMb: null,
        cJhJkjmDyjcSj: null,
        cJhJkjmDrjcDrzl: null,
        cJhJkjmDrjcHyjc: null,
        cJhJkjmDrjcHylj: null,
        cJhJkjmDrjcQyjc: null,
        cJhJkjmDrjcQylj: null,
        cJhJkjmXhDrxh: null,
        cJhJkjmXhLjxh: null,
        cJhJkjmKcYmmb: null,
        cJhJkjmKcYmsj: null,
        cJhGljmDyjcMb: null,
        cJhGljmDyjcSj: null,
        cJhGljmDrjcDrzl: null,
        cJhGljmDrjcHyjc: null,
        cJhGljmDrjcHylj: null,
        cJhGljmDrjcQyjc: null,
        cJhGljmDrjcQylj: null,
        cJhGljmXhDrxh: null,
        cJhGljmXhLjxh: null,
        cJhGljmKcYmmb: null,
        cJhGljmKcYmsj: null,
        cJhZl13DyjcMb: null,
        cJhZl13DyjcSj: null,
        cJhZl13DrjcDrzl: null,
        cJhZl13DrjcHyjc: null,
        cJhZl13DrjcHylj: null,
        cJhZl13DrjcQyjc: null,
        cJhZl13DrjcQylj: null,
        cJhZl13XhDrxh: null,
        cJhZl13XhLjxh: null,
        cJhZl13KcYmmb: null,
        cJhZl13KcYmsj: null,
        cJhQmDyjcMb: null,
        cJhQmDyjcSj: null,
        cJhQmDrjcDrzl: null,
        cJhQmDrjcHyjc: null,
        cJhQmDrjcHylj: null,
        cJhQmDrjcQyjc: null,
        cJhQmDrjcQylj: null,
        cJhQmXhDrxh: null,
        cJhQmXhLjxh: null,
        cJhQmKcYmmb: null,
        cJhQmKcYmsj: null,
        cJhSmDyjcMb: null,
        cJhSmDyjcSj: null,
        cJhSmDrjcDrzl: null,
        cJhSmDrjcHyjc: null,
        cJhSmDrjcHylj: null,
        cJhSmDrjcQyjc: null,
        cJhSmDrjcQylj: null,
        cJhSmXhDrxh: null,
        cJhSmXhLjxh: null,
        cJhSmKcYmmb: null,
        cJhSmKcYmsj: null,
        remake: null,
        zfree1: null,
        zfree2: null,
        zfree3: null,
        zfree4: null,
        zfree5: null,
        zfree6: null,
        zfree7: null,
        zfree8: null,
        zfree9: null,
        zfree10: null,
        zfree11: null,
        zfree12: null,
        zfree13: null,
        zfree14: null,
        zfree15: null,
        cState: null
      };
      this.resetForm("form");
    },
    /** 搜索按钮操作 */
    handleQuery() {
      this.queryParams.pageNum = 1;
      this.getList();
    },
    /** 重置按钮操作 */
    resetQuery() {
      this.resetForm("queryForm");
      this.handleQuery();
    },
    // 多选框选中数据
    handleSelectionChange(selection) {
      this.ids = selection.map(item => item.cDate)
      this.single = selection.length!==1
      this.multiple = !selection.length
    },
    /** 新增按钮操作 */
    handleAdd() {
      this.reset();
      this.open = true;
      this.isInsert=true;
      this.title = "添加能源公司进耗存录入";
    },
    /** 修改按钮操作 */
    handleUpdate(row) {
      this.reset();
      const cDate = row.cDate || this.ids
      getJh(cDate).then(response => {
        this.form = response.data;
        this.open = true;
        this.isInsert=false;
        this.title = "修改能源公司进耗存录入";
      });
    },
    /** 提交按钮 */
    submitForm() {
      this.$refs["form"].validate(valid => {
        if (valid) {
          if (!this.isInsert) {
            updateJh(this.form).then(response => {
              this.$modal.msgSuccess("修改成功");
              this.open = false;
              this.getList();
            });
          } else {
            addJh(this.form).then(response => {
              this.$modal.msgSuccess("新增成功");
              this.open = false;
              this.getList();
            });
          }
        }
      });
    },
    /** 删除按钮操作 */
    handleDelete(row) {
      const cDates = row.cDate || this.ids;
      this.$modal.confirm('是否确认删除能源公司进耗存录入编号为"' + cDates + '"的数据项？').then(function() {
        return delJh(cDates);
      }).then(() => {
        this.getList();
        this.$modal.msgSuccess("删除成功");
      }).catch(() => {});
    },
    /** 导出按钮操作 */
    handleExport() {
      this.download('jhc/jh/export', {
        ...this.queryParams
      }, `jh_${new Date().getTime()}.xlsx`)
    }
  }
};
</script>
<style lang="scss" scoped>
  table
  {
    border-collapse: collapse;
    margin: 0 auto;
    text-align: center;
  }
  table td, table th
  {
    border: 1px solid #cad9ea;
    color: #666;
    height: 30px;
  }
  table thead th
  {
    background-color: #CCE8EB;
    width: 100px;
  }
  table tr:nth-child(odd)
  {
    background: #fff;
  }
  table tr:nth-child(even)
  {
    background: #F5FAFA;
  }
</style>

